/***************************
/ table 换行变色 选中变色
/ TrBgChange("from区域id & name","input的name","奇数行背景样式","偶数行背景样式","选中栏的背景样式")
****************************/
function TrBgChange(AreaId,OddClass,EvenClass){
	var trs=document.getElementById(AreaId).getElementsByTagName("tr");
	for(var i=1;i<trs.length;i++)
	{
		trs[i].className=(trs[i].sectionRowIndex%2==0)?OddClass:EvenClass;
	}
}